﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.Frontstage.Valickets
{
    /// <summary>
    /// BS_UserPUseLog
    /// </summary>
    [Table("BS_UserPUseLog")]
    public class BS_UserPUseLog
    {

        /// <summary>
        /// 主键
        /// </summary>
        [Key, Column(Order = 1)]
        public String Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 创建人Id
        /// </summary>
        public String CreatorId { get; set; }

        /// <summary>
        /// 否已删除
        /// </summary>
        public Boolean Deleted { get; set; }

        /// <summary>
        /// 用户Id
        /// </summary>
        public String UserId { get; set; }

        /// <summary>
        /// 类型(0.获得,-1使用)
        /// </summary>
        public Int32? Type { get; set; }

        /// <summary>
        /// 积分数量（获得/使用）
        /// </summary>
        public Int32? PointNum { get; set; }

        /// <summary>
        /// 来源/用途
        /// </summary>
        public String Purpose { get; set; }

        /// <summary>
        /// 获取(使用)时间
        /// </summary>
        public DateTime? Time { get; set; }

    }
}